From: Lars Magne Ingebrigtsen Date: Wed, 13 Jul 2011 22:22:08 +0000 (+0200) Subject: (make-directory): Clarify that an error will be raised if there's an error X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2865 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=de9d0b5675f5d678ee1f63ad67b42da19fd502ad;p=emacs.git (make-directory): Clarify that an error will be raised if there's an error --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index efda23a8691..88bb6c3f09a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -8,6 +8,9 @@ 2011-07-13 Lars Magne Ingebrigtsen + * files.el (make-directory): Clarify that an error will be raised + if there's an error (bug#6397). + * startup.el (initial-buffer-choice): Add `none' as a choice (bug#6234). diff --git a/lisp/files.el b/lisp/files.el index bf38ce39a07..0b253fcc297 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4778,7 +4778,10 @@ visited a file in a nonexistent directory. Noninteractively, the second (optional) argument PARENTS, if non-nil, says whether to create parent directories that don't -exist. Interactively, this happens by default." +exist. Interactively, this happens by default. + +If creating the directory or directories fail, an error will be +raised." (interactive (list (read-file-name "Make directory: " default-directory default-directory nil nil)